package com.xiangban.yanglaodajie_platform.service;

import com.xiangban.yanglaodajie_platform.dao.AppReleaseMapper;
import com.xiangban.yanglaodajie_platform.entity.AppRelease;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VersionsService {
    @Autowired
    private AppReleaseMapper appReleaseMapper;

    public AppRelease getLastRelease(AppRelease appRelease) {
       return appReleaseMapper.getLastRelease(appRelease);
    }
}
